-- GENERATED SPELL FOR [Highborne Apparition] --


function spell0_6116(pUnit, Event) --@Fear,n/a--
pUnit:FullCastSpellOnTarget(12542,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6116', 5500, 1)
end

function Sorts_6116(pUnit, Event)
local choix_sorts_6116 = math.random(0, 0)
if choix_sorts_6116 == 0 then
pUnit:RegisterEvent('spell0_6116', 1, 1)
end
end

function mob6116_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6116', math.random(1500, 3000), 1)
end

function mob6116_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6116_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6116_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6116, 1, 'mob6116_Action')
RegisterUnitEvent(6116, 2, 'mob6116_Leave')
RegisterUnitEvent(6116, 3, 'mob6116_Kill')
RegisterUnitEvent(6116, 4, 'mob6116_Die')
